/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Controladores;

import Beans.Ventas;
import java.util.LinkedList;

/**
 *
 * @author Ethan Amador
 */
public class ControladorVentas {
    
    public static LinkedList<Ventas> ListaVenta = new LinkedList<>();
    
        ControladorProducto cp = new ControladorProducto();
        ControladorCliente cc = new ControladorCliente();
    public LinkedList<Ventas> Listar(){
        return  ListaVenta;
     }
    
    public int NumeroFactura(){
        return ListaVenta.size();
    }
    
    public void Registrar(Ventas v){
        ListaVenta.add(v);
    }
    
   
    
}
